package cn.bqjr.eily.shiro.spring.boot.entity;

import java.io.Serializable;

public class ShiroUser implements Serializable {
    private static final long serialVersionUID = -1050823169704971084L;

    private Serializable userId;
    private Serializable password;
    private boolean valid;
    private boolean locked;

    public Serializable getUserId() {
        return userId;
    }

    public ShiroUser setUserId(Serializable userId) {
        this.userId = userId;
        return this;
    }

    public Serializable getPassword() {
        return password;
    }

    public ShiroUser setPassword(Serializable password) {
        this.password = password;
        return this;
    }

    public boolean isValid() {
        return valid;
    }

    public ShiroUser setValid(boolean valid) {
        this.valid = valid;
        return this;
    }

    public boolean isLocked() {
        return locked;
    }

    public ShiroUser setLocked(boolean locked) {
        this.locked = locked;
        return this;
    }
}
